package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.MemberAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author gcq
 * @Create 2021-01-05
 */
@FeignClient("gulimall-member")
public interface MemberFeignService {

    /**
    * @需求描述: 系统管理员 会员服务组 查询出会员收获地址信息
    * @创建人: 郭承乾
    * @创建时间: 2021/01/05 15:04
    * @修改需求:
    * @修改人:
    * @修改时间:
    * @需求思路:
    */
    @GetMapping("/member/memberreceiveaddress/getAddress/{memberid}")
    public List<MemberAddressVo> getAddress(@PathVariable("memberid") Long memberId);

}
